<template>
	<view class="out">
		<view class="box" v-for="(index, item) in 10" :key="index">
			box模块 - {{ index }}
		</view>
		<view v-for="item in nba" :key="item.id">
			球星：{{ item.name }} - 球衣：{{ item.no }}
		</view>
	</view>
</template>

<script setup>
	import {
		ref
	} from "vue";
	const nba = ref([{
			id: 1,
			name: "乔丹",
			no: 23,
		},
		{
			id: 2,
			name: "詹姆斯",
			no: 6,
		},
		{
			id: 3,
			name: "科比",
			no: 24,
		},
	]);
</script>

<style lang="scss" scoped></style>